package team.seekers.catering.user.entity.dto.update;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author hbc
 * @date 2022年03月1日 10:13
 */
@Data
public class OnlineUserUpdateDTO {

    @NotNull(message = "园区不能为空")
    private Integer park;

    @NotNull(message = "楼栋编号不能为空")
    private Integer building;

    @NotBlank(message = "收货人姓名不能为空")
    private String name;

    @NotBlank(message = "手机号码不能为空")
    private String tel;

    private String buildingId;


}
